package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生信息对象 ho_student_info
 *
 * @author ruoyi
 * @date 2025-01-10
 */
public class HoStudentInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

    /**
     * 姓名
     */
    @Excel(name = "姓名")
    private String name;

    /**
     * 学号
     */
    @Excel(name = "学号")
    private String studentNum;

    /**
     * 性别
     */
    @Excel(name = "性别")
    private String gender;

    /**
     * 身份证号
     */
    @Excel(name = "身份证号")
    private String identityCard;

    /**
     * 专业
     */
    @Excel(name = "专业")
    private String major;

    /**
     * 班级
     */
    @Excel(name = "班级")
    private String clas;

    /**
     * 联系方式
     */
    @Excel(name = "联系方式")
    private String phone;

    /**
     * 创建用户ID
     */
    @Excel(name = "创建用户ID")
    private Long createUserId;

    /**
     * 修改用户ID
     */
    @Excel(name = "修改用户ID")
    private Long updateUserId;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setStudentNum(String studentNum) {
        this.studentNum = studentNum;
    }

    public String getStudentNum() {
        return studentNum;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getGender() {
        return gender;
    }

    public void setIdentityCard(String identityCard) {
        this.identityCard = identityCard;
    }

    public String getIdentityCard() {
        return identityCard;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getMajor() {
        return major;
    }

    public void setClas(String clas) {
        this.clas = clas;
    }

    public String getClas() {
        return clas;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return phone;
    }

    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() {
        return createUserId;
    }

    public void setUpdateUserId(Long updateUserId) {
        this.updateUserId = updateUserId;
    }

    public Long getUpdateUserId() {
        return updateUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("studentNum", getStudentNum())
                .append("gender", getGender())
                .append("identityCard", getIdentityCard())
                .append("major", getMajor())
                .append("clas", getClas())
                .append("phone", getPhone())
                .append("remark", getRemark())
                .append("createUserId", getCreateUserId())
                .append("createTime", getCreateTime())
                .append("updateUserId", getUpdateUserId())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
